﻿namespace tlBasic.Core
{
    public class ClaimConst
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public const string UserId = "UserId";

        /// <summary>
        /// 账号
        /// </summary>
        public const string Account = "Account";

        /// <summary>
        /// 名称
        /// </summary>
        public const string Name = "Name";

        /// <summary>
        /// 类型
        /// </summary>
        public const string UserType = "UserType";
        /// <summary>
        /// 县区Id
        /// </summary>
        public const string UserCountyId = "UserCountyId";
        /// <summary>
        /// 公司Id
        /// </summary>
        public const string UserCompnayId = "UserCompnayId";

        /// <summary>
        /// 公司Id
        /// </summary>
        public const string UserOrganizationId = "UserOrganizationId";
        /// <summary>
        /// 租户Id
        /// </summary>
        public const string TenantId = "TenantId";
        
        /// <summary>
        ///  
        /// </summary>
        public const string Timestamp = "Timestamp";

        //修改日志排除字段
        public static string[] AuditExclude = {
             nameof(DEntityBase.Id)
            ,nameof(DEntityBase.CreatedUserId)
            ,nameof(DEntityBase.CreatedUserName)
            ,nameof(DEntityBase.CreatedTime)
            ,nameof(DEntityBase.UpdatedUserId)
            ,nameof(DEntityBase.UpdatedUserName)
            ,nameof(DEntityBase.UpdatedTime)
        };
    }
}